<?php 
	$catedata=(new \Common\Model\Cate)->where('pid=0')->get();
 ?>

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>邢志龙blog</title>
<meta name="keywords" content="个人博客,博客,响应式" />
<meta name="description" content="如影随形主题的个人博客，神秘、俏皮。" />
<link href="Public/Home/css/base.css" rel="stylesheet">
<link href="Public/Home/css/about.css" rel="stylesheet">
<link href="Public/Home/css/style.css" rel="stylesheet">
<link href="Public/Home/css/index.css" rel="stylesheet">
<link href="Public/Home/css/media.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<!--[if lt IE 9]>
<script src="Public/Home/js/modernizr.js"></script>
<![endif]-->
<style type="text/css">
		#ulli li{
			float: left;
			
		}
</style>
</head>
<body>
<div class="ibody">
  <header>
    <h1>灯火阑珊</h1>
   
    <h2>人世间最遥远的距离，莫过于你在我对面我们却不相识</h2>
    <div class="logo"><a href="<?php echo U('Index/index')?>"></a></div>
    <nav id="topnav">
    	<a href="<?php echo U('Index/index')?>">首页</a>
    	<a href="<?php echo U('Index/about')?>">Mystyle</a>
    	<?php foreach ($catedata as $v){?>
    	<a href="l<?php echo $v['cid']?>.html"><?php echo $v['cname']?></a>
    	<?php }?>
    	
    </nav>
    
  </header>